package com.xx.cloud.pay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
//dynamic_code
@TableName("dynamic_code")
@Data
public class DynamicCode implements Serializable {

    private static final long serialVersionUID = 42L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String shortCode;
    private String content;
    private LocalDateTime lastUpdated;
    
    // getters and setters
}